package com.gitee.feizns.dynamic.convert;

/**
 * <b>使用{@link Converts#to(Object, Class)}进行类型转换</b>
 * @see Converter
 * @see Converts
 * @param <S> 原数据类型
 * @param <R> 目标数据类型
 * @author feizns
 * @since 2019/5/19 0019
 */
public class DefaultConverter<S, R> implements Converter<S, R> {

    @Override
    public R to(S source, Class<R> targetType) {
        return Converts.to(source, targetType);
    }
}
